package com.cu.employmentmanagementsystem.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @TableName curriculum_vitae
 */
@ApiModel(description = "学生个人简历")
@Data
public class StudentVita implements Serializable {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "studentId，学生Id")
    private Long studentId;
    @ApiModelProperty(value = "name，学生姓名")
    private String userName;
    @ApiModelProperty(value = "sex，学生性别")
    private Integer sex;
    @ApiModelProperty(value = "birthday，学生出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime birthday;
    @ApiModelProperty(value = "school，学生毕业院校")
    private String school;
    @ApiModelProperty(value = "encourage，学生获奖历史")
    private String encourage;
    @ApiModelProperty(value = "peview，简历审核状态(-1:未审核, 0:审核未通过, 1:审核通过)")
    private Integer peviewStatus = -1;
}
